package com.snifferx.services;

import org.springframework.security.core.userdetails.User;

import com.snifferx.domain.UserEntity;

/**
 * Provides processing service to set user authentication session
 * 
 * @author Wei Cheng
 */
public interface UserAuthenticationProviderService {

	/**
	 * Process user authentication
	 * 
	 * @param user
	 * @return
	 */
	boolean processUserAuthentication(UserEntity user);
	
	
	//weicheng added 
	boolean processUserAuthentication(String userName, String userPassword);
	
	//weicheng added
	User getUserdetails();
}
